To replace the default search engine
Microsoft Index Server is the default search engine for iMIS sites. WCM interacts with Microsoft Index Server by using the ASP.NET 2.0 provider model, so the default search provider (ImisSearchProvider) can be replaced with a custom search provider that is designed to use another search engine.
Refer to iMIS Community to learn techniques for replacing the default ImisSearchProvider provider with a custom search provider. You must be familiar with ASP.NET development concepts and techniques and you must be familiar with the ASP.NET 2.0 provider model.
If you replace the default search engine, you probably must also write corresponding index renderers to replace the default index renderers used by the iMIS rendering engine. See Extending the default content and index renderers.
To add ranking values to search results
Search results from the basic search control and from the advanced search pages that you create by using AdvancedSearch iParts are listed in descending order based on the ranking score given by Microsoft Index Server to each result. However, the default behavior for search results does not display the actual score for each item.
You can make the ranking score visible for each search result by adding the following key to the <SystemParams> declaration of the web.config file in the root of the physical path for your IIS applications and IIS web sites that host your iMIS sites.
<add key="Search.DisplayRankValueInResults" value="true"/>
To tailor the basic search control
The basic search control that appears on most site pages can be configured to display different styles of prompt text and to display the specific prompt text that you prefer. To modify the default settings, edit the master page for an iMIS site and locate the following element:
<asiweb:SimpleSearchField ID="SearchField" runat="server" AdvancedLinkVisible="false"
ButtonCssClass="SearchButton" InputCssClass="Watermarked" />
Add the following three attributes to this element declaration to modify the prompt style and prompt text:
■ PromptType
□ PromptType="None" - Prompt text for the search control is not displayed.
□ PromptType="Label" - Prompt text appears as a label near the search control, positioned above, beneath, to the left, or to the right of the search control as specified by the PromptPosition attribute.
□ PromptType="Watermark" Prompt text appears watermark text inside the search control itself.
■ PromptPosition (optional if PromptType="Label": if you omit this attribute, the default value is "Left")
□ PromptPosition="Bottom"
□ PromptPosition="Left"
□ PromptPosition="Right"
□ PromptPosition="Top"
■ PromptText (optional if PromptType="Label" or "Watermark": if you omit this attribute, the default value is "Search")
□ PromptText="[any string]"
Troubleshooting
■ You must have administrative access to Internet Information Services (IIS) and the entire file system on all servers that you use for hosting iMIS sites.